package com.mm.cloud.common.mq.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 路由key枚举
 *
 * @author mr
 * @since 2021-06-30
 */
@Getter
@AllArgsConstructor
public enum RoutingKeyEnum {

    // 系统日志
    SYSTEM_LOG_ROUTING("mm.system.log.routing", ExchangeEnum.DIRECT),
    // 短信
    SMS_ROUTING("mm.sms.routing", ExchangeEnum.DIRECT),
    // websocket
    WS_ROUTING("mm.ws.routing", ExchangeEnum.DIRECT);

    private String key;

    private ExchangeEnum exchange;
}
